<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/language/ImageInt.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d7/d9f/ImageInt_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ImageInt.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d7/d9f/ImageInt_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * ImageInt.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.language;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> java.util.*;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/d64/namespacenars_1_1io.html">io</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../de/ddc/namespacenars_1_1storage.html">storage</a>.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt.html">   35</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt.html">ImageInt</a> <span class="keyword">extends</span> <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a> {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a0363652d73bf1b44da9fc1a35ad9e370.html#a0363652d73bf1b44da9fc1a35ad9e370">   38</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">short</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a0363652d73bf1b44da9fc1a35ad9e370.html#a0363652d73bf1b44da9fc1a35ad9e370">relationIndex</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835.html#a588d82aa3f377df8c58de039088ee835">   46</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835.html#a588d82aa3f377df8c58de039088ee835">ImageInt</a>(String n, ArrayList&lt;Term&gt; arg, <span class="keywordtype">short</span> index) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        super(n, arg);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        relationIndex = index;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a414de3399a59f11913632269572685b0.html#a414de3399a59f11913632269572685b0">   59</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a414de3399a59f11913632269572685b0.html#a414de3399a59f11913632269572685b0">ImageInt</a>(String n, ArrayList&lt;Term&gt; cs, <span class="keywordtype">boolean</span> con, <span class="keywordtype">short</span> <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5e337444f74e870264191c7fbc13cd6d.html#a5e337444f74e870264191c7fbc13cd6d">complexity</a>, <span class="keywordtype">short</span> index) {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        super(n, cs, con, complexity);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        relationIndex = index;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a926536f74b2950c52901d5299f06c019.html#a926536f74b2950c52901d5299f06c019">   68</a></span>&#160;    <span class="keyword">public</span> Object <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a926536f74b2950c52901d5299f06c019.html#a926536f74b2950c52901d5299f06c019">clone</a>() {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835.html#a588d82aa3f377df8c58de039088ee835">ImageInt</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">name</a>, (ArrayList&lt;Term&gt;) <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a4f199daa7588f86b81b0912a5e52dfe0.html#a4f199daa7588f86b81b0912a5e52dfe0">cloneList</a>(<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>), <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_aee0ef6fd533b58caf22bee2a98eef67d.html#aee0ef6fd533b58caf22bee2a98eef67d">isConstant</a>(), <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5e337444f74e870264191c7fbc13cd6d.html#a5e337444f74e870264191c7fbc13cd6d">complexity</a>, relationIndex);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    }</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">   78</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">make</a>(List&lt;Term&gt; argList, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory) {</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">if</span> (argList.size() &lt; 2) {</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        }</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> relation = argList.get(0);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        ArrayList&lt;Term&gt; argument = <span class="keyword">new</span> ArrayList&lt;Term&gt;();</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keywordtype">int</span> index = 0;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 1; j &lt; argList.size(); j++) {</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            <span class="keywordflow">if</span> (argList.get(j).getName().charAt(0) == <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a3f863c930e8f4576f1fea1264175b2df.html#a3f863c930e8f4576f1fea1264175b2df">IMAGE_PLACE_HOLDER</a>) {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                index = j - 1;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                argument.add(relation);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;                argument.add(argList.get(j));</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">make</a>(argument, (<span class="keywordtype">short</span>) index, memory);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a1a0bbfca7ce59e180cd5bec307630864.html#a1a0bbfca7ce59e180cd5bec307630864">  104</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a1a0bbfca7ce59e180cd5bec307630864.html#a1a0bbfca7ce59e180cd5bec307630864">make</a>(<a class="code" href="../../d8/d73/classnars_1_1language_1_1Product.html">Product</a> product, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> relation, <span class="keywordtype">short</span> index, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory) {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">if</span> (relation instanceof <a class="code" href="../../d8/d73/classnars_1_1language_1_1Product.html">Product</a>) {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            Product p2 = (Product) relation;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            <span class="keywordflow">if</span> ((product.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">size</a>() == 2) &amp;&amp; (p2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">size</a>() == 2)) {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                <span class="keywordflow">if</span> ((index == 0) &amp;&amp; product.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(1).<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(p2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(1))) {<span class="comment">// (\,_,(*,a,b),b) is reduced to a</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                    <span class="keywordflow">return</span> p2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(0);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                }</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                <span class="keywordflow">if</span> ((index == 1) &amp;&amp; product.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(0).<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(p2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(0))) {<span class="comment">// (\,(*,a,b),a,_) is reduced to b</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                    <span class="keywordflow">return</span> p2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(1);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;            }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        }</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        ArrayList&lt;Term&gt; argument = product.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5923e4b211c0c1e1e53b39ebed2c7be1.html#a5923e4b211c0c1e1e53b39ebed2c7be1">cloneComponents</a>();</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        argument.set(index, relation);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">make</a>(argument, index, memory);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a845220073ca8309bd174697474fefca4.html#a845220073ca8309bd174697474fefca4">  129</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a845220073ca8309bd174697474fefca4.html#a845220073ca8309bd174697474fefca4">make</a>(<a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt.html">ImageInt</a> oldImage, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> component, <span class="keywordtype">short</span> index, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory) {</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        ArrayList&lt;Term&gt; argList = oldImage.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5923e4b211c0c1e1e53b39ebed2c7be1.html#a5923e4b211c0c1e1e53b39ebed2c7be1">cloneComponents</a>();</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordtype">int</span> oldIndex = oldImage.<a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_afbf552d3fd7d6b7430ae58dcf6fa2959.html#afbf552d3fd7d6b7430ae58dcf6fa2959">getRelationIndex</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> relation = argList.get(oldIndex);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        argList.set(oldIndex, component);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        argList.set(index, relation);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">make</a>(argList, index, memory);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a6c80d27670942b32acff9f9a9f7c29aa.html#a6c80d27670942b32acff9f9a9f7c29aa">  145</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a6c80d27670942b32acff9f9a9f7c29aa.html#a6c80d27670942b32acff9f9a9f7c29aa">make</a>(ArrayList&lt;Term&gt; argument, <span class="keywordtype">short</span> index, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory) {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        String <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">name</a> = <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_adf2b3d71c10b80f512455c952137b200.html#adf2b3d71c10b80f512455c952137b200">makeImageName</a>(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">IMAGE_INT_OPERATOR</a>, argument, index);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t = memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nameToListedTerm</a>(name);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordflow">return</span> (t != null) ? t : <span class="keyword">new</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835.html#a588d82aa3f377df8c58de039088ee835">ImageInt</a>(name, argument, index);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_afbf552d3fd7d6b7430ae58dcf6fa2959.html#afbf552d3fd7d6b7430ae58dcf6fa2959">  155</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">short</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_afbf552d3fd7d6b7430ae58dcf6fa2959.html#afbf552d3fd7d6b7430ae58dcf6fa2959">getRelationIndex</a>() {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a0363652d73bf1b44da9fc1a35ad9e370.html#a0363652d73bf1b44da9fc1a35ad9e370">relationIndex</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    }</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a1ded137d695bbd24a89e990b865c5ced.html#a1ded137d695bbd24a89e990b865c5ced">  163</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a1ded137d695bbd24a89e990b865c5ced.html#a1ded137d695bbd24a89e990b865c5ced">getRelation</a>() {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>.get(relationIndex);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    }</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a664fd588906f48e74e5093110d9a2954.html#a664fd588906f48e74e5093110d9a2954">  171</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a664fd588906f48e74e5093110d9a2954.html#a664fd588906f48e74e5093110d9a2954">getTheOtherComponent</a>() {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>.size() != 2) {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;            <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keywordflow">return</span> (relationIndex == 0) ? <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>.get(1) : <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>.get(0);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    @Override</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_ae5244566e2cd367c93118ccfbee8d2dc.html#ae5244566e2cd367c93118ccfbee8d2dc">  183</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_ae5244566e2cd367c93118ccfbee8d2dc.html#ae5244566e2cd367c93118ccfbee8d2dc">makeName</a>() {</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_adf2b3d71c10b80f512455c952137b200.html#adf2b3d71c10b80f512455c952137b200">makeImageName</a>(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">IMAGE_INT_OPERATOR</a>, <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">components</a>, relationIndex);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    }</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="../../df/de3/classnars_1_1language_1_1ImageInt_a977ec6dcff57bc80e22f7b410543c4de.html#a977ec6dcff57bc80e22f7b410543c4de">  191</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../df/de3/classnars_1_1language_1_1ImageInt_a977ec6dcff57bc80e22f7b410543c4de.html#a977ec6dcff57bc80e22f7b410543c4de">operator</a>() {</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">IMAGE_INT_OPERATOR</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    }</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;}</div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a0363652d73bf1b44da9fc1a35ad9e370_html_a0363652d73bf1b44da9fc1a35ad9e370"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a0363652d73bf1b44da9fc1a35ad9e370.html#a0363652d73bf1b44da9fc1a35ad9e370">nars.language.ImageInt.relationIndex</a></div><div class="ttdeci">short relationIndex</div><div class="ttdoc">The index of relation in the component list. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00038">ImageInt.java:38</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a977ec6dcff57bc80e22f7b410543c4de_html_a977ec6dcff57bc80e22f7b410543c4de"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a977ec6dcff57bc80e22f7b410543c4de.html#a977ec6dcff57bc80e22f7b410543c4de">nars.language.ImageInt.operator</a></div><div class="ttdeci">String operator()</div><div class="ttdoc">Get the operator of the term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00191">ImageInt.java:191</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a6c80d27670942b32acff9f9a9f7c29aa_html_a6c80d27670942b32acff9f9a9f7c29aa"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a6c80d27670942b32acff9f9a9f7c29aa.html#a6c80d27670942b32acff9f9a9f7c29aa">nars.language.ImageInt.make</a></div><div class="ttdeci">static Term make(ArrayList&lt; Term &gt; argument, short index, Memory memory)</div><div class="ttdoc">Try to make a new compound from a set of components. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00145">ImageInt.java:145</a></div></div>
<div class="ttc" id="namespacenars_1_1io_html"><div class="ttname"><a href="../../db/d64/namespacenars_1_1io.html">nars.io</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00021">ExperienceReader.java:21</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a1a0bbfca7ce59e180cd5bec307630864_html_a1a0bbfca7ce59e180cd5bec307630864"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a1a0bbfca7ce59e180cd5bec307630864.html#a1a0bbfca7ce59e180cd5bec307630864">nars.language.ImageInt.make</a></div><div class="ttdeci">static Term make(Product product, Term relation, short index, Memory memory)</div><div class="ttdoc">Try to make an Image from a Product and a relation. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00104">ImageInt.java:104</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_html"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory.html">nars.storage.Memory</a></div><div class="ttdoc">The memory of the system. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00051">Memory.java:51</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_a5923e4b211c0c1e1e53b39ebed2c7be1_html_a5923e4b211c0c1e1e53b39ebed2c7be1"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5923e4b211c0c1e1e53b39ebed2c7be1.html#a5923e4b211c0c1e1e53b39ebed2c7be1">nars.language.CompoundTerm.cloneComponents</a></div><div class="ttdeci">ArrayList&lt; Term &gt; cloneComponents()</div><div class="ttdoc">Clone the component list. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00372">CompoundTerm.java:372</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a3f863c930e8f4576f1fea1264175b2df_html_a3f863c930e8f4576f1fea1264175b2df"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a3f863c930e8f4576f1fea1264175b2df.html#a3f863c930e8f4576f1fea1264175b2df">nars.io.Symbols.IMAGE_PLACE_HOLDER</a></div><div class="ttdeci">static final char IMAGE_PLACE_HOLDER</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00054">Symbols.java:54</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_adf2b3d71c10b80f512455c952137b200_html_adf2b3d71c10b80f512455c952137b200"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_adf2b3d71c10b80f512455c952137b200.html#adf2b3d71c10b80f512455c952137b200">nars.language.CompoundTerm.makeImageName</a></div><div class="ttdeci">static String makeImageName(String op, List&lt; Term &gt; arg, int relationIndex)</div><div class="ttdoc">default method to make the oldName of an image term from given fields </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00285">CompoundTerm.java:285</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_html"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt.html">nars.language.ImageInt</a></div><div class="ttdoc">An intension image. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00035">ImageInt.java:35</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a664fd588906f48e74e5093110d9a2954_html_a664fd588906f48e74e5093110d9a2954"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a664fd588906f48e74e5093110d9a2954.html#a664fd588906f48e74e5093110d9a2954">nars.language.ImageInt.getTheOtherComponent</a></div><div class="ttdeci">Term getTheOtherComponent()</div><div class="ttdoc">Get the other term in the Image. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00171">ImageInt.java:171</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a414de3399a59f11913632269572685b0_html_a414de3399a59f11913632269572685b0"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a414de3399a59f11913632269572685b0.html#a414de3399a59f11913632269572685b0">nars.language.ImageInt.ImageInt</a></div><div class="ttdeci">ImageInt(String n, ArrayList&lt; Term &gt; cs, boolean con, short complexity, short index)</div><div class="ttdoc">Constructor with full values, called by clone. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00059">ImageInt.java:59</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a845220073ca8309bd174697474fefca4_html_a845220073ca8309bd174697474fefca4"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a845220073ca8309bd174697474fefca4.html#a845220073ca8309bd174697474fefca4">nars.language.ImageInt.make</a></div><div class="ttdeci">static Term make(ImageInt oldImage, Term component, short index, Memory memory)</div><div class="ttdoc">Try to make an Image from an existing Image and a component. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00129">ImageInt.java:129</a></div></div>
<div class="ttc" id="namespacenars_1_1storage_html"><div class="ttname"><a href="../../de/ddc/namespacenars_1_1storage.html">nars.storage</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00021">Bag.java:21</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_aee0ef6fd533b58caf22bee2a98eef67d_html_aee0ef6fd533b58caf22bee2a98eef67d"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_aee0ef6fd533b58caf22bee2a98eef67d.html#aee0ef6fd533b58caf22bee2a98eef67d">nars.language.CompoundTerm.isConstant</a></div><div class="ttdeci">boolean isConstant()</div><div class="ttdoc">check if the term contains free variable </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00318">CompoundTerm.java:318</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a1ded137d695bbd24a89e990b865c5ced_html_a1ded137d695bbd24a89e990b865c5ced"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a1ded137d695bbd24a89e990b865c5ced.html#a1ded137d695bbd24a89e990b865c5ced">nars.language.ImageInt.getRelation</a></div><div class="ttdeci">Term getRelation()</div><div class="ttdoc">Get the relation term in the Image. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00163">ImageInt.java:163</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b_html_a059f44677d4580c0eef198dfba957b6b"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">nars.language.Term.name</a></div><div class="ttdeci">String name</div><div class="ttdoc">A Term is identified uniquely by its name, a sequence of characters in a given alphabet (ASCII or Uni...</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00046">Term.java:46</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3_html_a5bc9e12a9a70988c241652f088fa29d3"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a5bc9e12a9a70988c241652f088fa29d3.html#a5bc9e12a9a70988c241652f088fa29d3">nars.io.Symbols.IMAGE_INT_OPERATOR</a></div><div class="ttdeci">static final String IMAGE_INT_OPERATOR</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00063">Symbols.java:63</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa_html_ad05e4231ed31d78ad4c8b4fefbc964fa"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_ad05e4231ed31d78ad4c8b4fefbc964fa.html#ad05e4231ed31d78ad4c8b4fefbc964fa">nars.language.ImageInt.make</a></div><div class="ttdeci">static Term make(List&lt; Term &gt; argList, Memory memory)</div><div class="ttdoc">Try to make a new ImageExt. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00078">ImageInt.java:78</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f_html_ad85f45a7858737445d5158801774ff5f"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">nars.language.Term.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">Equal terms have identical name, though not necessarily the same reference. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00094">Term.java:94</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_a5e337444f74e870264191c7fbc13cd6d_html_a5e337444f74e870264191c7fbc13cd6d"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a5e337444f74e870264191c7fbc13cd6d.html#a5e337444f74e870264191c7fbc13cd6d">nars.language.CompoundTerm.complexity</a></div><div class="ttdeci">short complexity</div><div class="ttdoc">syntactic complexity of the compound, the sum of those of its components plus 1 </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00041">CompoundTerm.java:41</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03_html_ac81c5851f664320ddec435641f198b03"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">nars.language.CompoundTerm.size</a></div><div class="ttdeci">int size()</div><div class="ttdoc">get the number of components </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00347">CompoundTerm.java:347</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Product_html"><div class="ttname"><a href="../../d8/d73/classnars_1_1language_1_1Product.html">nars.language.Product</a></div><div class="ttdoc">A Product is a sequence of terms. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/df9/Product_8java_source.html#l00032">Product.java:32</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a926536f74b2950c52901d5299f06c019_html_a926536f74b2950c52901d5299f06c019"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a926536f74b2950c52901d5299f06c019.html#a926536f74b2950c52901d5299f06c019">nars.language.ImageInt.clone</a></div><div class="ttdeci">Object clone()</div><div class="ttdoc">Clone an object. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00068">ImageInt.java:68</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_a4f199daa7588f86b81b0912a5e52dfe0_html_a4f199daa7588f86b81b0912a5e52dfe0"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_a4f199daa7588f86b81b0912a5e52dfe0.html#a4f199daa7588f86b81b0912a5e52dfe0">nars.language.CompoundTerm.cloneList</a></div><div class="ttdeci">static ArrayList&lt; Term &gt; cloneList(ArrayList&lt; Term &gt; original)</div><div class="ttdoc">Deep clone an array list of terms. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00381">CompoundTerm.java:381</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb_html_ad340d3bb55dcfcdf237fe4ee225d3cbb"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ad340d3bb55dcfcdf237fe4ee225d3cbb.html#ad340d3bb55dcfcdf237fe4ee225d3cbb">nars.language.CompoundTerm.components</a></div><div class="ttdeci">ArrayList&lt; Term &gt; components</div><div class="ttdoc">list of (direct) components </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00039">CompoundTerm.java:39</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_ae5244566e2cd367c93118ccfbee8d2dc_html_ae5244566e2cd367c93118ccfbee8d2dc"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_ae5244566e2cd367c93118ccfbee8d2dc.html#ae5244566e2cd367c93118ccfbee8d2dc">nars.language.ImageInt.makeName</a></div><div class="ttdeci">String makeName()</div><div class="ttdoc">Override the default in making the name of the current term from existing fields. ...</div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00183">ImageInt.java:183</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840_html_acedae916705e9fa1669391a7d728b840"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">nars.language.CompoundTerm.componentAt</a></div><div class="ttdeci">Term componentAt(int i)</div><div class="ttdoc">get a component by index </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00356">CompoundTerm.java:356</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_afbf552d3fd7d6b7430ae58dcf6fa2959_html_afbf552d3fd7d6b7430ae58dcf6fa2959"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_afbf552d3fd7d6b7430ae58dcf6fa2959.html#afbf552d3fd7d6b7430ae58dcf6fa2959">nars.language.ImageInt.getRelationIndex</a></div><div class="ttdeci">short getRelationIndex()</div><div class="ttdoc">get the index of the relation in the component list </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00155">ImageInt.java:155</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93_html_a63058cc52d77412e0aead8387c23aa93"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nars.storage.Memory.nameToListedTerm</a></div><div class="ttdeci">Term nameToListedTerm(String name)</div><div class="ttdoc">Get a Term for a given name of a Concept or Operator. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00152">Memory.java:152</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_html"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">nars.language.CompoundTerm</a></div><div class="ttdoc">A CompoundTerm is a Term with internal (syntactic) structure. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00036">CompoundTerm.java:36</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835_html_a588d82aa3f377df8c58de039088ee835"><div class="ttname"><a href="../../df/de3/classnars_1_1language_1_1ImageInt_a588d82aa3f377df8c58de039088ee835.html#a588d82aa3f377df8c58de039088ee835">nars.language.ImageInt.ImageInt</a></div><div class="ttdeci">ImageInt(String n, ArrayList&lt; Term &gt; arg, short index)</div><div class="ttdoc">constructor with partial values, called by make </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/d9f/ImageInt_8java_source.html#l00046">ImageInt.java:46</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_b4d9c5ced2c21fe4bf332c675d1d2c5f.html">language</a></li><li class="navelem"><a class="el" href="../../d7/d9f/ImageInt_8java.html">ImageInt.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
